import 'package:school_assistant/generated/json/base/json_field.dart';
import 'package:school_assistant/generated/json/shiwu_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class ShiwuEntity {
	int? id;
	int? ty;
	String? title;
	String? content;
	String? img;
	String? tel;
	String? addr;
	String? time;
	String? name;
	String? profile;

	ShiwuEntity();

	factory ShiwuEntity.fromJson(Map<String, dynamic> json) => $ShiwuEntityFromJson(json);

	Map<String, dynamic> toJson() => $ShiwuEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}